﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.So;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.SaleReturnInWarehouseDetailVMs
{
    public partial class SaleReturnInWarehouseDetailBatchVM : BaseBatchVM<SaleReturnInWarehouseDetail, SaleReturnInWarehouseDetail_BatchEdit>
    {
        public SaleReturnInWarehouseDetailBatchVM()
        {
            ListVM = new SaleReturnInWarehouseDetailListVM();
            LinkedVM = new SaleReturnInWarehouseDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class SaleReturnInWarehouseDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._SaleReturnInWarehouse")]
        public string SaleReturnInWarehouseId { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._SaleReturn")]
        public string SaleReturnId { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._SaleReturnDetail")]
        public string SaleReturnDetailId { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._Warehouse")]
        public string WarehouseId { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._Goods")]
        public string GoodsId { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._GoodsName")]
        public string GoodsName { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._GoodsSpec")]
        public string GoodsSpec { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._GoodsUnit")]
        public string GoodsUnit { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._ReturnNumber")]
        public decimal? ReturnNumber { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._SaleReturnInWarehouseDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}